import request from "@/axios";

// 卖家申请修改点价订单商品
export const providerapplyalterslideorder = option =>
  request({
    url: "/api/order/providerapplyalterslideorder",
    method: "post",
    data: option
  });

// 卖家申请修改确定价订单商品
export const providerapplyalterconfirmorder = option =>
  request({
    url: "/api/order/providerapplyalterconfirmorder",
    method: "post",
    data: option
  });

// 买家同意修改点价订单
export const customeracceptalterslideorder = option =>
  request({
    url: "/api/order/customeracceptalterslideorder",
    method: "get",
    params: option
  });

// 买家拒绝修改点价订单
export const customerrejectalterslideorder = option =>
  request({
    url: "/api/order/customerrejectalterslideorder",
    method: "get",
    params: option
  });

// 买家同意修改确定价订单
export const customeracceptalterconfirmorder = option =>
  request({
    url: "/api/order/customeracceptalterconfirmorder",
    method: "get",
    params: option
  });

// 买家拒绝修改确定价订单
export const customerrejectalterconfirmorder = option =>
  request({
    url: "/api/order/customerrejectalterconfirmorder",
    method: "get",
    params: option
  });

// 查询卖家审核修改订单数据
export const providerqueryorderauditdata = option =>
  request({
    url: "/api/order/providerqueryorderauditdata",
    method: "get",
    params: option
  });

// 查询买家审核修改订单数据
export const customerqueryorderauditdata = option =>
  request({
    url: "/api/order/customerqueryorderauditdata",
    method: "get",
    params: option
  });

// 卖家申请修改升贴水
export const providerapplyalterpremium = option =>
  request({
    url: "/api/order/providerapplyalterpremium",
    method: "get",
    params: option
  });

// 买家同意修改升贴水
export const customeracceptalterpremium = option =>
  request({
    url: "/api/order/customeracceptalterpremium",
    method: "get",
    params: option
  });

// 买家拒绝修改升贴水
export const customerrejectalterpremium = option =>
  request({
    url: "/api/order/customerrejectalterpremium",
    method: "get",
    params: option
  });
